Release 10.1A: OpenEdge Application Server:
Developing AppServer Applications
Handling the STOP condition
If a client application raises the
Note: A client can raise theSTOPcondition while a remote procedure is active on a connected AppServer, OpenEdge also raises theSTOPcondition in the context of the AppServer agent handling the remote procedure request.STOPcondition in the context of an executing remote procedure by invoking theSTOP( )method on the server object handle.A
STOPcondition raised within a remote procedure does not necessarily terminate procedure execution, and it never causes the AppServer session to restart (as in a Progress 4GL client session). You can use theONSTOPstatement within the remote procedure to intercept anySTOPcondition raised during execution and handle it as your application requires. Otherwise, theSTOPcondition propagates to the client application. For information on unhandledSTOPconditions, see the "Effects of unhandled conditions" section.A
STOPcondition raised in an Activate procedure for a stateless AppServer session has the same effect as if it were raised in the remote procedure for the request.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |